package com.longling.hayarider.entity;

/**
 * @ClassName BaseEntity
 * @Description TODO
 * @date 2021-08-23 19:45
 * @Company LongLing
 * @Version 1.0
 * @Author 潇妙
 */
public class BaseEntity<T> {
    private String msg;
    private int code;
    private T data;

    public BaseEntity(){

    }
    public BaseEntity(String msg){
        this.msg=msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
